home *** CD-ROM | disk | FTP | other *** search
-
-
-
- AS User Commands AS
-
-
-
- NNAAMMEE
- as - Sun-1, Sun-2 and Sun-3 assembler
-
- SSYYNNOOPPSSIISS
- aass [ --dd22 ] [ --ee ] [ --hh ] [ --jj ] [ --JJ ] [ --LL ]
- [ --mmcc6688001100 ] [ --mmcc6688002200 ] [ --oo _o_b_j_f_i_l_e ]
- [ --OO ] [ --RR ] _f_i_l_e_n_a_m_e
-
- DDEESSCCRRIIPPTTIIOONN
- _a_s translates assembly code in the named _f_i_l_e_n_a_m_e into exe-
- cutable object code in the specified _o_b_j_f_i_l_e.
-
- All undefined symbols in the assembly are treated as global.
-
- The output of the assembly is left in the file _o_b_j_f_i_l_e.
-
- OOPPTTIIOONNSS
- --dd22 Specifies that instruction offsets involving forward or
- external references and having sizes unspecified in the
- assembly language are two bytes long. The default is
- four bytes. See also the --jj option.
-
- --ee Allows control sections to begin on any two-byte boun-
- dary, rather than only four-byte boundaries.
-
- --hh Suppress span-dependent instruction calculations and
- force all branches to be of medium length, but all
- calls to take the most general form. This is used when
- assembly must be minimized, while program size and
- run-time are unimportant. This option results in a
- smaller and faster program than that produced by the --JJ
- option, but some very large programs may not be able to
- use it because of the limits of the medium-length
- branches.
-
- --jj Use short (pc-relative) branches to resolve jump's and
- jsr's to externals. This is for compact programs which
- cannot use the --dd22 flag because of large program relo-
- cation.
-
- --JJ Suppress span-dependent instruction calculations and
- force all branches and calls to take the most general
- form. This is used when assembly time must be minim-
- ized, but program size and run time are not important.
-
- --LL Save defined labels beginning with an `L', which are
- normally discarded to save space in the resultant sym-
- bol table. The compilers generate such temporary
- labels.
-
- --mmcc6688001100
- Accept only MC68010 instructions and addressing modes,
-
-
-
- Sprite v1.0 20 March 1986 1
-
-
-
-
-
-
- AS User Commands AS
-
-
-
- and put the MC68010 machine-type tag in the object
- file. This is the default on Sun-2's.
-
- --mmcc6688002200
- Accept the full MC68020, MC68881 and the Sun FPA
- instruction sets and addressing modes, and put the
- MC68020 machine-type tag in the object file. This is
- the default on Sun 3's.
-
- --oo The next argument is taken as the name of the object
- file to be produced. If the --oo flag isn't used, the
- _o_b_j_f_i_l_e is named _a.._o_u_t.
-
- --OO Perform span-dependent instruction resolution over
- entire files rather than just over individual pro-
- cedures.
-
- --RR Make initialized data segments read-only by concatenat-
- ing them to the text segments. This eliminates the
- need to run editor scripts on assembly code to make
- initialized data read-only and shared.
-
- FFIILLEESS
- /_t_m_p/_a_s* default temporary file
-
- SSEEEE AALLSSOO
- ld(1), nm(1), adb(1), dbx(1), a.out(5)
-
- _A_s_s_e_m_b_l_y _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
-
- BBUUGGSS
- The Pascal compiler, _p_c, qualifies a nested procedure name
- by chaining the names of the enclosing procedures. This
- sometimes results in names long enough to abort the assem-
- bler, which currently limits identifiers to 512 characters.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v1.0 20 March 1986 2
-
-
-
-